package com.ssm.platform.pojo.vo;

import com.ssm.basis.model.pojo.vo.BaseTree;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class MenusVo extends BaseTree<MenusVo, Long> {

    @Schema(description = "parent_id 确定上下级，name_link 用于查出所有下级。例如上级为0-，下级则为0-4-")
    private String idLink;

    @Schema(description = "是否为叶子节点，0(false)-表示不是，1(true)-表示是")
    private Boolean isLeafNode;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "跳转路径")
    private String action;

    @Schema(description = "跳转方式")
    private String actionType;

    @Schema(description = "入参")
    private String parameter;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "顺序")
    private Integer sequence;

    @Schema(description = "描述")
    private String description;
}
